package com.dhb.pattern.strategy.pay;

/**
 * 功能描述：
 * 创建人：citymoon
 * 创建日期：2019/5/21
 */
public class PayState {
    private int code;
    private String msg;
    private Object data;

    public PayState(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    @Override
    public String toString() {
        return "支付状态：【" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '】';
    }
}
